package com.example.xianzhi.entity;

public class TbRelation {
    private int relation_id; //主键id
    private int user_id; //用户id
    private int goods_id; //商品id
    private String need; //是否想要(0不想要，1想要)

    @Override
    public String toString() {
        return "TbRelation{" +
                "relation_id=" + relation_id +
                ", user_id=" + user_id +
                ", goods_id=" + goods_id +
                ", need='" + need + '\'' +
                '}';
    }

    public int getRelation_id() {
        return relation_id;
    }

    public void setRelation_id(int relation_id) {
        this.relation_id = relation_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getNeed() {
        return need;
    }

    public void setNeed(String need) {
        this.need = need;
    }
}
